<DOCTYPE html>
<html>
	<head>
		<title>医嘱历史查询</title>
		<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile-1.4.0.css" />
		<link rel="stylesheet" type="text/css" href="../../css/zpdydhl_mobile.css">
		<link rel="stylesheet" type="text/css" href="../../css/mobiscroll.custom-2.6.2.min.css">
		<link rel="stylesheet" type="text/css" href="../../css/yizhu.css">
		<script type="text/javascript" src="../../js/jquery-1.8.3.min.js"></script>
		<script type="text/javascript" src="../../js/jquery.mobile-1.4.0.min.js"></script>
		<script type="text/javascript" src="../../js/zpdydhl_mobile.js"></script>
		<script type="text/javascript" src="../../js/mobiscroll.custom-2.6.2.min.js"></script>
		<script type="text/javascript" src="../../js/yizhu.js"></script>
	</head>

	<body>
		<div data-role="page" data-theme="c">
            
             <div data-role="content" class="content" style="padding:0;margin:o">
				<table width="100%" border="0" height="32" align="center">
					<tr>
						<td class="yizhu_baiyao_shaixuan_name" style="width:100px">查询时间：</td>
						<td class="yizhu_baiyao_shaixuan_input">
							<input type="text" name="tizheng_input_time" id="tizheng_input_time" value="" data-role="none" style="text-align:left; width:120px;">
						</td> 
						<td>
							<input type="button" value="历史" id="lishi_chaxun" class="search_button jiancha_search yizhu_search" data-role="none" style="margin-left:0px;"/>
						</td>
					</tr>
				</table>
				<div data-role="content" class="content" style="">
					<div class="yizhu_list_content yizhu_list_layout" style="">
						
					</div>
				</div>
            </div>

           
			<div style=" position:fixed; top:0px; bottom:0px; left:0px; right:0px; background-color:#000; z-index:999; height:100%; filter:alpha(opacity=90,Style=3);-moz-opacity:0.9;-khtml-opacity: 0.9;opacity: 0.9; display:none;" id="yizhu_dialog">
				<div class="yizhu_dialog" data-theme="a">
					<div class="yizhu_dialog_title" data-theme="a"></div>
					<div class="yizhu_dialog_content"></div>
					<div class="yizhu_dialog_button"></div>
				</div>
			</div>
			
			<script>
			$(function(){
				var opt = {theme:'android-ics light',mode:'scroller',display:'modal',lang:'zh',dateFormat: 'yy-mm-dd',setText: '确定',cancelText: '取消',dateOrder: 'yymmdd',dayText: '日', monthText: '月', yearText: '年',endYear:2020, startYear:2000};
					opt.date = {preset : 'date'};//日期
					opt.time = {preset : 'time'};//时间
					opt.datetime = { preset : 'datetime', minDate: new Date(2012,3,10,9,22), maxDate: new Date(2020,01,01,15,44), stepMinute: 1  };
				//日期+时间
				opt.select = {preset : 'select'};//下拉框              
				$('input[name="tizheng_input_time"]').val('').scroller('destroy').scroller($.extend(opt['date'],opt));
						f2_key_number = 1;
				document_type_global = "yizhulishichaxun";
	
				//getLishiYizhuList(patient_info_global.zhuyuan_id,"全部","1999-01-01");
				$("#lishi_chaxun").die().live("click",function(){
					var chaxun_shijian = $('[name="tizheng_input_time"]').val();
					getLishiYizhuList(patient_info_global.zhuyuan_id,"全部",chaxun_shijian);
				});
				
				// 获取默认数据，已校对=未执行
				//getYizhuList(patient_info_global.zhuyuan_id,"全部","已校对");
				
				$(".back_home").die().live("click",function(){
					window.location.href="../System/showMobileSystem.html";
				});
			});
			</script>
			</div>
	</body>
</html>